Node TAP
GitHub
node-tap.org
Preparing search index...
tcompare
has-strict
HasStrict
Class HasStrict
The same as
tcompare!has.Has
, but strictly compare all properties
Hierarchy (
View Summary
)
Has
HasStrict
Index
Constructors
constructor
Properties
buffer
Chunk
Size
diff
Context
expect
id
id
Counter
id
Map
indent
is
Key
key
level
match
memo
memo
Diff
memo
Expect
object
options
parent
provisional
simple
sort
style
Accessors
expect
As
Array
object
As
Array
Methods
array
Expect
Is
Empty
array
Is
Empty
buffer
Is
Short
child
child
Expect
diff
error
Is
Empty
expect
Error
Is
Empty
get
Class
get
Id
get
Key
get
Map
Entries
get
Pojo
Entries
get
Pojo
Keys
inc
Id
indent
Level
is
Arguments
is
Array
is
Buffer
is
Error
is
Iterable
is
Keyless
is
Map
is
React
Element
is
React
Element
Children
is
Set
is
Stream
is
String
map
Expect
Is
Empty
map
Is
Empty
node
Id
pojo
Expect
Is
Empty
pojo
Is
Empty
print
print
Array
print
Array
Body
print
Array
Empty
print
Array
Entry
print
Array
Head
print
Array
Tail
print
Big
Int
print
Boolean
print
Buffer
print
Buffer
Body
print
Buffer
Head
print
Buffer
Last
Line
print
Buffer
Line
print
Buffer
Tail
print
Circular
print
Collection
print
Date
print
End
print
Error
print
Error
Body
print
Error
Empty
print
Error
Head
print
Error
Tail
print
Fn
print
Map
print
Map
Body
print
Map
Empty
print
Map
Entry
print
Map
Entry
Not
Found
print
Map
Entry
Unexpected
print
Map
Head
print
Map
Tail
print
Null
print
Number
print
Pojo
print
Pojo
Body
print
Pojo
Empty
print
Pojo
Entry
print
Pojo
Head
print
Pojo
Tail
print
React
Element
print
Reg
Exp
print
Set
print
Set
Body
print
Set
Empty
print
Set
Entry
print
Set
Head
print
Set
Tail
print
Start
print
String
print
String
Body
print
String
Empty
print
String
Head
print
String
Last
Line
print
String
Line
print
String
One
Line
print
String
Tail
print
Symbol
print
Undefined
print
Value
regexp
Same
seen
seen
Expect
set
Expect
Is
Empty
set
Is
Empty
simple
Match
simple
Print
simple
Print
Expect
string
Is
Empty
string
Is
One
Line
test
unmatch
Constructors
constructor
new
HasStrict
(
obj
:
any
,
options
:
SameOptions
)
:
HasStrict
Parameters
obj
:
any
options
:
SameOptions
Returns
HasStrict
Properties
buffer
Chunk
Size
bufferChunkSize
:
number
diff
Context
diffContext
:
number
= 10
expect
expect
:
any
id
id
:
null
|
number
id
Counter
idCounter
:
number
id
Map
idMap
:
Map
<
any
,
number
>
indent
indent
:
string
is
Key
isKey
:
boolean
key
key
:
any
level
level
:
number
match
match
:
boolean
= true
memo
memo
:
null
|
string
memo
Diff
memoDiff
:
null
|
string
= null
memo
Expect
memoExpect
:
null
|
string
= null
object
object
:
any
options
options
:
FormatOptions
parent
parent
:
null
|
Same
provisional
provisional
:
boolean
simple
simple
:
null
|
boolean
|
"COMPLEX"
= null
sort
sort
:
boolean
style
style
:
Style
Accessors
expect
As
Array
get
expectAsArray
()
:
null
|
any
[]
Returns
null
|
any
[]
object
As
Array
get
objectAsArray
()
:
null
|
any
[]
Returns
null
|
any
[]
Methods
array
Expect
Is
Empty
arrayExpectIsEmpty
()
:
boolean
Returns
boolean
array
Is
Empty
arrayIsEmpty
()
:
boolean
Returns
boolean
buffer
Is
Short
bufferIsShort
()
:
boolean
Returns
boolean
child
child
(
obj
:
any
,
options
:
FormatOptions
|
SameOptions
,
cls
?:
typeof
Same
)
:
any
Parameters
obj
:
any
options
:
FormatOptions
|
SameOptions
Optional
cls
:
typeof
Same
Returns
any
child
Expect
childExpect
(
key
:
any
)
:
any
Parameters
key
:
any
Returns
any
diff
diff
()
:
string
Returns
string
error
Is
Empty
errorIsEmpty
()
:
boolean
Returns
boolean
expect
Error
Is
Empty
expectErrorIsEmpty
()
:
boolean
Returns
boolean
get
Class
getClass
()
:
string
Returns
string
get
Id
getId
()
:
number
Returns
number
get
Key
getKey
()
:
string
Returns
string
get
Map
Entries
getMapEntries
(
obj
?:
any
)
:
[
string
,
any
]
[]
Parameters
obj
:
any
= ...
Returns
[
string
,
any
]
[]
get
Pojo
Entries
getPojoEntries
(
obj
:
any
)
:
[
PropertyKey
,
any
]
[]
Parameters
obj
:
any
Returns
[
PropertyKey
,
any
]
[]
get
Pojo
Keys
getPojoKeys
(
obj
?:
any
)
:
PropertyKey
[]
Parameters
obj
:
any
= ...
Returns
PropertyKey
[]
inc
Id
incId
()
:
number
Returns
number
indent
Level
indentLevel
(
n
?:
number
)
:
string
Parameters
n
:
number
= 0
Returns
string
is
Arguments
isArguments
()
:
boolean
Returns
boolean
is
Array
isArray
()
:
boolean
Returns
boolean
is
Buffer
isBuffer
()
:
boolean
Returns
boolean
is
Error
isError
()
:
boolean
Returns
boolean
is
Iterable
isIterable
()
:
boolean
Returns
boolean
is
Keyless
isKeyless
()
:
boolean
Returns
boolean
is
Map
isMap
()
:
boolean
Returns
boolean
is
React
Element
isReactElement
()
:
boolean
Returns
boolean
is
React
Element
Children
isReactElementChildren
(
children
:
any
)
:
boolean
Parameters
children
:
any
Returns
boolean
is
Set
isSet
()
:
boolean
Returns
boolean
is
Stream
isStream
()
:
boolean
Returns
boolean
is
String
isString
()
:
boolean
Returns
boolean
map
Expect
Is
Empty
mapExpectIsEmpty
()
:
boolean
Returns
boolean
map
Is
Empty
mapIsEmpty
()
:
boolean
Returns
boolean
node
Id
nodeId
()
:
string
Returns
string
pojo
Expect
Is
Empty
pojoExpectIsEmpty
()
:
boolean
Returns
boolean
pojo
Is
Empty
pojoIsEmpty
()
:
boolean
Returns
boolean
print
print
()
:
string
Returns
string
print
Array
printArray
()
:
void
Returns
void
print
Array
Body
printArrayBody
()
:
void
Returns
void
print
Array
Empty
printArrayEmpty
()
:
void
Returns
void
print
Array
Entry
printArrayEntry
(
key
:
number
,
val
:
any
)
:
void
Parameters
key
:
number
val
:
any
Returns
void
print
Array
Head
printArrayHead
()
:
void
Returns
void
print
Array
Tail
printArrayTail
()
:
void
Returns
void
print
Big
Int
printBigInt
()
:
void
Returns
void
print
Boolean
printBoolean
()
:
void
Returns
void
print
Buffer
printBuffer
()
:
void
Returns
void
print
Buffer
Body
printBufferBody
()
:
void
Returns
void
print
Buffer
Head
printBufferHead
()
:
void
Returns
void
print
Buffer
Last
Line
printBufferLastLine
(
key
:
any
,
val
:
Buffer
)
:
void
Parameters
key
:
any
val
:
Buffer
Returns
void
print
Buffer
Line
printBufferLine
(
key
:
number
,
val
:
Buffer
)
:
void
Parameters
key
:
number
val
:
Buffer
Returns
void
print
Buffer
Tail
printBufferTail
()
:
void
Returns
void
print
Circular
printCircular
(
seen
:
Format
)
:
void
Parameters
seen
:
Format
Returns
void
print
Collection
printCollection
()
:
void
Returns
void
print
Date
printDate
()
:
void
Returns
void
print
End
printEnd
()
:
void
Returns
void
print
Error
printError
()
:
void
Returns
void
print
Error
Body
printErrorBody
()
:
void
Returns
void
print
Error
Empty
printErrorEmpty
()
:
void
Returns
void
print
Error
Head
printErrorHead
()
:
void
Returns
void
print
Error
Tail
printErrorTail
()
:
void
Returns
void
print
Fn
printFn
()
:
void
Returns
void
print
Map
printMap
()
:
void
Returns
void
print
Map
Body
printMapBody
()
:
void
Returns
void
print
Map
Empty
printMapEmpty
()
:
void
Returns
void
print
Map
Entry
printMapEntry
(
key
:
any
,
val
:
any
,
expectKey
?:
any
)
:
void
Parameters
key
:
any
val
:
any
expectKey
:
any
= key
Returns
void
print
Map
Entry
Not
Found
printMapEntryNotFound
(
key
:
any
,
val
:
any
)
:
void
Parameters
key
:
any
val
:
any
Returns
void
print
Map
Entry
Unexpected
printMapEntryUnexpected
(
_key
:
any
,
_val
:
any
)
:
void
Parameters
_key
:
any
_val
:
any
Returns
void
print
Map
Head
printMapHead
()
:
void
Returns
void
print
Map
Tail
printMapTail
()
:
void
Returns
void
print
Null
printNull
()
:
void
Returns
void
print
Number
printNumber
()
:
void
Returns
void
print
Pojo
printPojo
()
:
void
Returns
void
print
Pojo
Body
printPojoBody
()
:
void
Returns
void
print
Pojo
Empty
printPojoEmpty
()
:
void
Returns
void
print
Pojo
Entry
printPojoEntry
(
key
:
any
,
val
:
any
,
notFound
?:
boolean
)
:
void
Parameters
key
:
any
val
:
any
Optional
notFound
:
boolean
Returns
void
print
Pojo
Head
printPojoHead
()
:
void
Returns
void
print
Pojo
Tail
printPojoTail
()
:
void
Returns
void
print
React
Element
printReactElement
()
:
void
Returns
void
print
Reg
Exp
printRegExp
()
:
void
Returns
void
print
Set
printSet
()
:
void
Returns
void
print
Set
Body
printSetBody
()
:
void
Returns
void
print
Set
Empty
printSetEmpty
()
:
void
Returns
void
print
Set
Entry
printSetEntry
(
val
:
any
)
:
void
Parameters
val
:
any
Returns
void
print
Set
Head
printSetHead
()
:
void
Returns
void
print
Set
Tail
printSetTail
()
:
void
Returns
void
print
Start
printStart
()
:
void
Returns
void
print
String
printString
()
:
void
Returns
void
print
String
Body
printStringBody
()
:
void
Returns
void
print
String
Empty
printStringEmpty
()
:
void
Returns
void
print
String
Head
printStringHead
()
:
void
Returns
void
print
String
Last
Line
printStringLastLine
(
key
:
any
,
val
:
string
)
:
void
Parameters
key
:
any
val
:
string
Returns
void
print
String
Line
printStringLine
(
key
:
any
,
val
:
string
)
:
void
Parameters
key
:
any
val
:
string
Returns
void
print
String
One
Line
printStringOneLine
()
:
void
Returns
void
print
String
Tail
printStringTail
()
:
void
Returns
void
print
Symbol
printSymbol
()
:
void
Returns
void
print
Undefined
printUndefined
()
:
void
Returns
void
print
Value
printValue
()
:
void
Returns
void
regexp
Same
regexpSame
(
a
:
RegExp
,
b
:
RegExp
)
:
boolean
Parameters
a
:
RegExp
b
:
RegExp
Returns
boolean
seen
seen
(
_
?:
any
)
:
false
|
Format
Parameters
Optional
_
:
any
Returns
false
|
Format
seen
Expect
seenExpect
()
:
false
|
Same
Returns
false
|
Same
set
Expect
Is
Empty
setExpectIsEmpty
()
:
boolean
Returns
boolean
set
Is
Empty
setIsEmpty
()
:
boolean
Returns
boolean
simple
Match
simpleMatch
()
:
void
Returns
void
simple
Print
simplePrint
(
obj
:
any
,
options
?:
FormatOptions
)
:
string
Parameters
obj
:
any
options
:
FormatOptions
= {}
Returns
string
simple
Print
Expect
simplePrintExpect
()
:
string
Returns
string
string
Is
Empty
stringIsEmpty
()
:
boolean
Returns
boolean
string
Is
One
Line
stringIsOneLine
()
:
boolean
Returns
boolean
test
test
()
:
boolean
|
"COMPLEX"
Returns
boolean
|
"COMPLEX"
unmatch
unmatch
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
buffer
Chunk
Size
diff
Context
expect
id
id
Counter
id
Map
indent
is
Key
key
level
match
memo
memo
Diff
memo
Expect
object
options
parent
provisional
simple
sort
style
Accessors
expect
As
Array
object
As
Array
Methods
array
Expect
Is
Empty
array
Is
Empty
buffer
Is
Short
child
child
Expect
diff
error
Is
Empty
expect
Error
Is
Empty
get
Class
get
Id
get
Key
get
Map
Entries
get
Pojo
Entries
get
Pojo
Keys
inc
Id
indent
Level
is
Arguments
is
Array
is
Buffer
is
Error
is
Iterable
is
Keyless
is
Map
is
React
Element
is
React
Element
Children
is
Set
is
Stream
is
String
map
Expect
Is
Empty
map
Is
Empty
node
Id
pojo
Expect
Is
Empty
pojo
Is
Empty
print
print
Array
print
Array
Body
print
Array
Empty
print
Array
Entry
print
Array
Head
print
Array
Tail
print
Big
Int
print
Boolean
print
Buffer
print
Buffer
Body
print
Buffer
Head
print
Buffer
Last
Line
print
Buffer
Line
print
Buffer
Tail
print
Circular
print
Collection
print
Date
print
End
print
Error
print
Error
Body
print
Error
Empty
print
Error
Head
print
Error
Tail
print
Fn
print
Map
print
Map
Body
print
Map
Empty
print
Map
Entry
print
Map
Entry
Not
Found
print
Map
Entry
Unexpected
print
Map
Head
print
Map
Tail
print
Null
print
Number
print
Pojo
print
Pojo
Body
print
Pojo
Empty
print
Pojo
Entry
print
Pojo
Head
print
Pojo
Tail
print
React
Element
print
Reg
Exp
print
Set
print
Set
Body
print
Set
Empty
print
Set
Entry
print
Set
Head
print
Set
Tail
print
Start
print
String
print
String
Body
print
String
Empty
print
String
Head
print
String
Last
Line
print
String
Line
print
String
One
Line
print
String
Tail
print
Symbol
print
Undefined
print
Value
regexp
Same
seen
seen
Expect
set
Expect
Is
Empty
set
Is
Empty
simple
Match
simple
Print
simple
Print
Expect
string
Is
Empty
string
Is
One
Line
test
unmatch
GitHub
node-tap.org
Node TAP
Loading...
The same as tcompare!has.Has, but strictly compare all properties