Skip to content

Commit

Permalink
Add back Record.isRecord
Browse files Browse the repository at this point in the history
This was included before, and turns out to be needed in the context of #71
  • Loading branch information
Daniel Ehrenberg authored May 28, 2020
1 parent 730ec32 commit efb1a39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NS-Proto-Appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

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

## `Record.isRecord(value) -> boolean`

Checks whether the parameter is either a Record primitive or Record wrapper.

## `Record.assign(...args: Record[]) -> Record`

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

0 comments on commit efb1a39

Please sign in to comment.