Update FunctionRegistry_Library.res

This commit is contained in:
Ozzie Gooen 2022-06-10 11:17:47 -07:00 committed by GitHub
parent 1acd4fc259
commit 844dfd369c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,7 +305,7 @@ let registry = [
Function.make(
~name="Dict.toList",
~definitions=[
FnDefinition.make(~name="toList", ~inputs=[FRTypeDict(FRTypeAny)], ~run=(inputs, _) =>
FnDefinition.make(~name="dictToList", ~inputs=[FRTypeDict(FRTypeAny)], ~run=(inputs, _) =>
switch inputs {
| [FRValueDict(dict)] =>
dict
@ -326,7 +326,7 @@ let registry = [
Function.make(
~name="Dict.fromList",
~definitions=[
FnDefinition.make(~name="fromList", ~inputs=[FRTypeArray(FRTypeArray(FRTypeAny))], ~run=(
FnDefinition.make(~name="dictFromList", ~inputs=[FRTypeArray(FRTypeArray(FRTypeAny))], ~run=(
inputs,
_,
) => {