Skip to content

Commit

Permalink
Change string to Symbol in name docstring (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixcremer authored Jul 27, 2023
1 parent 67dfb03 commit 95bf390
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ or `Symbols` for `Dim{Symbol}`.
function metadata end

"""
name(x) => String
name(xs:Tuple) => NTuple{N,String}
name(x, dims::Tuple) => NTuple{N,String}
name(x, dim) => String
name(x) => Symbol
name(xs:Tuple) => NTuple{N,Symbol}
name(x, dims::Tuple) => NTuple{N,Symbol}
name(x, dim) => Symbol
Get the name of an array or Dimension, or a tuple of of either.
Get the name of an array or Dimension, or a tuple of of either as a Symbol.
Second argument `dims` can be `Dimension`s, `Dimension` types,
or `Symbols` for `Dim{Symbol}`.
Expand Down

0 comments on commit 95bf390

Please sign in to comment.