Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit efb1a39

Browse files
author
Daniel Ehrenberg
authored
Add back Record.isRecord
This was included before, and turns out to be needed in the context of #71
1 parent 730ec32 commit efb1a39

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: NS-Proto-Appendix.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
Converts shallowly an object to a record. If the object has a non-const value, a TypeError will be thrown.
66

7+
## `Record.isRecord(value) -> boolean`
8+
9+
Checks whether the parameter is either a Record primitive or Record wrapper.
10+
711
## `Record.assign(...args: Record[]) -> Record`
812

913
Merges all records passed as arguments into one **new** record returned by the function. The latest argument will override arguments before when merging.

0 commit comments

Comments
 (0)