{"version":3,"file":"checks.mjs","sources":["../../src/utils/checks.ts"],"sourcesContent":["// string\nexport const isString = (value) => typeof value === 'string';\nexport const isStringFull = (value) => value.length > 0;\nexport const isEmptyString = (value) => value.length === 0;\n// nil\nexport const isNull = (value) => value === null;\nexport const isUndefined = (value) => value === undefined;\nexport const isNil = (value) => value == null;\nexport const isDefined = (value) => value != null;\n// object\nexport const isObject = (value) => typeof value === 'object' && value != null;\nexport const isObjectFull = (value) => isObject(value) && Object.keys(value).length > 0;\nexport const isEmptyObject = (value) => Object.keys(value).length === 0;\n// array\nexport const isArray = (value) => Array.isArray(value);\nexport const isArrayFull = (value) => value.length > 0;\nexport const isEmptyArray = (value) => value.length === 0;\n"],"names":["isString","value","isStringFull","length","isEmptyString","isNil","isDefined","isObject","isEmptyObject","Object","keys","isEmptyArray"],"mappings":"AAAA;MACaA,QAAW,GAAA,CAACC,KAAU,GAAA,OAAOA,UAAU;MACvCC,YAAe,GAAA,CAACD,QAAUA,KAAME,CAAAA,MAAM,GAAG;MACzCC,aAAgB,GAAA,CAACH,QAAUA,KAAME,CAAAA,MAAM,KAAK;AAI5CE,MAAAA,KAAAA,GAAQ,CAACJ,KAAAA,GAAUA,SAAS;AAC5BK,MAAAA,SAAAA,GAAY,CAACL,KAAAA,GAAUA,SAAS;AAC7C;AACO,MAAMM,WAAW,CAACN,KAAAA,GAAU,OAAOA,KAAU,KAAA,QAAA,IAAYA,SAAS;AAElE,MAAMO,aAAgB,GAAA,CAACP,KAAUQ,GAAAA,MAAAA,CAAOC,IAAI,CAACT,KAAAA,CAAAA,CAAOE,MAAM,KAAK;MAIzDQ,YAAe,GAAA,CAACV,QAAUA,KAAME,CAAAA,MAAM,KAAK;;;;"}