@stdlib/assert-has-own-property
Test if an object has a specified property.
Found 312 results for stdassert
Test if an object has a specified property.
Test if a value is an array.
Return a function which tests if every element in an array passes a test condition.
Test if a value is a regular expression.
Test if a value is object-like.
Test if a value is a Uint8Array.
Test if a value is a Uint16Array.
Check if an environment is little endian.
Check if an environment is big endian.
Test if a value is a regular expression string.
Test if a value is a Buffer object.
Test if a value is a plain object.
Test if a value is a string.
Test if a value is a boolean.
Test if a value is a function.
Test if a value is a Float64Array.
Test if a value is a Uint32Array.
Test if a value is an object.
Test if a value is a Float32Array.
Test if a value is a number.
Test if a value is NaN.
Test if a value is an Int32Array.
Test if a value is an Int16Array.
Test if a value is a Uint8ClampedArray.
Test if a value is a number having a nonnegative integer value.
Test if a value is a number having an integer value.
Test if an object's own property is enumerable.
Test if a value is a collection.
Standard assertion utilities.
Test if a value is a number having a positive integer value.
Test if a value is an Error object.
Test if a value is an Int8Array.
Test if a value is an arguments object.
Test if a value is an ArrayBuffer.
Test if a value is a number having a positive value.
Test if a value is a complex number-like object.
Test whether a value has in its prototype chain a specified constructor as a prototype property.
Return a function which tests if every element in an array-like object passes a test condition.
Test if a value is a Complex64Array.
Test if a value is an array-like object.
Test if a value is an array-like object of numbers.
Test if a value is array-like.
Test if an array-like object supports the accessor (get/set) protocol.
Test if an array-like value contains a search value.
Test if a value is typed-array-like.
Test if a value is a typed array.
Test if a value is a complex typed array.
Test if a value is a Complex128Array.
Test if a value is a probability.
Test if a value is an array of strings.
Test if a value is a DataView.
Test if a value is an array-like object containing only nonnegative integers.
Test if a value is an array-like object containing only integers.
Test if a value is a URI.
Test if a value is an empty array.
Test if a value is an array of probabilities that sum to one.
Test if a value is ndarray-like.
Test if a value is a semantic version string.
Test if a value is a string having an uppercase first character.
Check if the runtime is Node.js.
Test if a value is Node stream-like.
Check if the runtime is a web browser.
Test if a value is a number having a nonnegative value.
Test if a value is Node writable stream-like.
Test if an object has a specified method name, either own or inherited.
Test if a value is null.
Test if a value is a gzip buffer.
Boolean indicating if the current process is running on Windows.
Test if a value is a 2-dimensional ndarray-like object.
Test if a value is iterator-like.
Test if a value is an array-like object containing only positive integers.
Test if an object has a specified property, either own or inherited.
Test if a value is an array of arrays.
Test if a value is iterable-like.
Test if a value is a JavaScript primitive.
Test if a value is undefined or null.
Test if a value is a BooleanArray.
Test if a value is an empty collection.
Test if a value is a relative path.
Test if two double-precision floating-point numbers are the same value.
Test if a value is an array-like object containing only probabilities.
Test if a value is an absolute path.
Test if an object-like value contains a circular reference.
Test if a value is an array-like object containing only functions.
Test if a value is a Date object.
Test if two arguments are the same value.
Test if a value is a parseable JSON string.
Test if a value is undefined.
Test for deep equality between two values.
Test if an object's prototype chain contains a provided prototype.
Test if two arguments are both Float64Arrays and have the same values.
Test whether a value is a localhost hostname.
Test if an object has a specified method name.
Test if a value is a complex typed array.
Test if a value is a 1-dimensional ndarray-like object.
Test if a value is a BooleanArray.
Test if a value is a Slice object.
Test if a value is a 2-dimensional ndarray-like object having equal dimensions.
Test whether a character belongs to the ASCII character set and whether this is true for all characters in a provided string.
Test if two arguments are both generic arrays and have the same values.
Test if a value is a symbol.
Test if a value is a BigInt.
Test if a value is a Complex128Array.
Test if a value is a domain name.
Test if a value is a Complex64Array.
Test if two arguments are both Float32Arrays and have the same values.
Test if a value is a string in kebab case.
Test if two arguments are both Complex128Arrays and have the same values.
Test whether a string contains only numeric digits.
Test if a value is an email address.
Test if two double-precision floating-point numbers are the same value.
Test if a value is a numeric array.
Test if a value corresponds to a leap year in the Gregorian calendar.
Test if a value is an infinite number.
Test if a value is an even number.
Test if a value is falsy.
Test if two arguments are both Complex64Arrays and have the same values.
Test if a value is an array-like object containing only positive numbers.
Test if a value is a 2-dimensional ndarray-like object containing double-precision floating-point numbers.
Test if an object's own and inherited property is readable and writable.
Test if a value is a number having a negative integer value.
Test whether an object contains a nested key path, either own or inherited.
Test if a value is a 64-bit complex number.
Test if a value is a MultiSlice object.
Test if two single-precision floating-point numbers are the same value.
Test if a value is equal to negative zero.
Test if a value is an array-like object containing only falsy values.
Test if two single-precision floating-point numbers are the same value.
Test if a value is a RangeError object.
Test if a value is an array-like object containing only truthy values.
Test if a value is a skew-persymmetric matrix.
Test if a value is a ReferenceError object.
Test if two arguments are the same value.
Test whether a string contains only numeric digits.
Test if a value is equal to positive zero.
Test if a value is an alphagram.
Test if a value is a SyntaxError object.
Test if a value is a 1-dimensional ndarray-like object containing double-precision floating-point numbers.
Test if a value is a centrosymmetric matrix.
Test if a value is a symmetric matrix.
Test if a value is a blank string.
Test whether an object contains a nested key path.
Test whether a string contains only alphanumeric characters.
Test if a value is a prime number.
Boolean indicating if the current environment is a mobile device.
Test if a value is an alphagram.
Test if a value is a finite number.
Test if a value is a class.
Test if a value is a 128-bit complex number.
Test if a value is a JavaScript boxed primitive.
Test if a value is a persymmetric matrix.
Test if a value is a skew-centrosymmetric matrix.
Test if a value is a UNC path.
Test if a value is complex-typed-array-like.
Test whether a string contains only white space characters.
Check if the runtime is a web worker.
Test if a value is a binary string.
Test whether a string contains only hexadecimal digits.
Test if a value is a relative path.
Test if a value is Node duplex stream-like.
Test if a value is a UNC path.
Test if a value is an array-like object containing only Date objects.
Test if a value is an empty object.
Test if a value is between two values.
Test if a value is an array-like object containing only nonpositive integers.
Test if a value is a number having a nonpositive integer value.
Test if a value is truthy.
Boolean indicating if the current environment is a touch device.
Test if a value is an array-like object containing only plain objects.
Test if a value is an array-like object where every element is between two values.
Test if a value is a BigUint64Array.
Test if a value is a non-symmetric matrix.
Test if a value is a SharedArrayBuffer.
Test if a value is a composite number.
Test if an object's own property is readable and writable.
Test if a value is a 1-dimensional ndarray-like object containing single-precision floating-point numbers.
Test if an object's own or inherited property is non-configurable.
Test if an object's own property is non-configurable.
Test if a value is Node transform stream-like.
Test if a value is a skew-symmetric matrix.
Test if a value is a valid array length.
Test if a value is an anagram.
Test if a value is an array-like object containing only symbols.
Test if an object's own property is non-enumerable.
Test if a value is a BigInt64Array.
Test if a value is a triangular number.
Test if a value is an EvalError object.
Test if a value is a 1-dimensional ndarray-like object containing double-precision complex floating-point numbers.
Test if a value is a square number.
Test if a value is an empty array-like object.
Test if a value is a square triangular number.
Test whether a string contains only alphanumeric characters.
Test if a value is an odd number.
Test if a value is a duration string.
Test if a value is an ndarray-like object containing double-precision floating-point numbers.
Test if an object's own or inherited property is readable.
Test if a value is a number having a nonpositive value.
Test whether a value is a relative URI.
Test if a value is an array-like object supporting the accessor (get/set) protocol.
Test if a value corresponds to a leap year in the Gregorian calendar.
Test if a value is a startcase string.
Test if a value is a cube number.
Test if a value is an absolute path.
Test if a value is a lowercase string.
Test whether a character belongs to the ASCII character set and whether this is true for all characters in a provided string.
Test if a value is a binary string.
Test if a value is a startcase string.
Test if a value is generator object-like.
Test if a value is a 64-bit or 128-bit complex number.
Test if a value is a TypeError object.
Test whether a string contains only hexadecimal digits.
Test if a value is a valid typed array length.
Test if a value is a native function.
Test if a value is an array-like object containing only NaN values.
Test if a value is an array containing a circular reference.
Test if two arguments have the same native class.
Test if a value is an empty string.
Test if a value is a number having a finite positive value.
Test whether a value is an absolute URI.
Test if two values are both Date objects corresponding to the same date and time.
Test if a value is a blank string.
Test if a value is a generator object.
Test if a value is Node readable stream-like.
Test whether a value is a relative URI.
Check if an environment is big endian.
Test if a value is the current year.
Test if an object's own property is writable.
Test if a value is an ndarray-like object containing double-precision complex floating-point numbers.
Test whether a string matches a Node.js built-in module name.
Test if a value is an ndarray-like object containing single-precision floating-point numbers.
Test if a value is an array-like object containing only null values.
Check if the runtime is the Electron renderer process.
Test if a value is an array-like object containing only nonnegative numbers.
Test if a value is an arrow function.
Test if an object's own property is readable.
Test if a value is a 1-dimensional ndarray-like object containing single-precision complex floating-point numbers.
Test if a value is an array-like object containing only finite numbers.
Test if a value is a lowercase string.
Test if a value is an array-like object containing only safe integers.
Check if an environment is little endian.
Test if a value is an uppercase string.
Test if an object's own or inherited property has a data descriptor.
Test whether a string contains only white space characters.
Test if a value is a camelcase string.
Test if a value is a regular expression string.
Test if two arguments are both double-precision complex floating-point numbers and have the same value.
Test if a value is an array-like object of booleans.
Test if a value is a string in snake case.
Test if a value is a string in Pascal case.
Assertion utility tools.