鸿蒙 IMLib-v1.8.0
    Preparing search index...

    用于检查 HashMap 有效性的类

    1.0.0

    Index

    Methods

    Methods

    • HashMap 是否有效

      Parameters

      • obj: HashMap<any, any>

        HashMap

      Returns boolean

      是否有效,Object 检查有效且长度 > 0 则有效;否则无效