GAP (Francy) - Chapter 9: Francy Util

Goto Chapter: Top 1 2 3 4 5 6 7 8 9 Ind
[Top of Book] [Contents] [Previous Chapter] [Next Chapter]

[MathJax off]

9 Francy Util
9.1 Operations
9.1-1 JUPYTER_ViewString
9.1-2 Sanitize
9.1-3 MergeObjects
9.1-4 GenerateID

### 9 Francy Util

#### 9.1 Operations

In this section we show all Francy Util Operations. Contains utility methods to handle Object printing/viewing, Sanitizing, etc.

##### 9.1-1 JUPYTER_ViewString

`‣ JUPYTER_ViewString`( arg ) | ( operation )

Returns: `String`

This method will pretty print in jupyter environment.

##### 9.1-2 Sanitize

`‣ Sanitize`( IsObject ) | ( operation )

Returns: `rec`

This method will clone a `Object` and return a sanitized record, traversing all the components and sanitizing when appropriate. Sanitizing in this context means, replace everything with it's string representation that can't be converted into JSON!

##### 9.1-3 MergeObjects

`‣ MergeObjects`( IsFrancyObject, IsFrancyObject ) | ( operation )

Returns: `rec`

This method will merge the properties of 2 `IsFrancyObjects` into one `rec`.

##### 9.1-4 GenerateID

`‣ GenerateID`( ) | ( operation )

Returns: `IsString`

This method will generate a sequential ID for use as object identifier.

[Top of Book] [Contents] [Previous Chapter] [Next Chapter]
Goto Chapter: Top 1 2 3 4 5 6 7 8 9 Ind

generated by GAPDoc2HTML