1.0.3 • Published 1 year ago

are-set v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

are-set

usage

import areSet, { areSetAndTheSameType } from "are-set"

const dataYouDontKnow = JSON.parse("{\"hello\": true}")

console.log(
    "keys are in object",
                           // keys in string array
    areSet(dataYouDontKnow, ["hello"])
)

cosnole.log(
    "are in the object and the same type",
                                        // [[key, type]]
    areSetAndTheSameType(dataYouDontKnow, [["hello", "boolean"]])
)
1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago